Optimal. Leaf size=71 \[ -\frac {a \sqrt {a^2+2 a b x+b^2 x^2}}{5 x^5 (a+b x)}-\frac {b \sqrt {a^2+2 a b x+b^2 x^2}}{4 x^4 (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {660, 45}
\begin {gather*} -\frac {a \sqrt {a^2+2 a b x+b^2 x^2}}{5 x^5 (a+b x)}-\frac {b \sqrt {a^2+2 a b x+b^2 x^2}}{4 x^4 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 660
Rubi steps
\begin {align*} \int \frac {\sqrt {a^2+2 a b x+b^2 x^2}}{x^6} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \frac {a b+b^2 x}{x^6} \, dx}{a b+b^2 x}\\ &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (\frac {a b}{x^6}+\frac {b^2}{x^5}\right ) \, dx}{a b+b^2 x}\\ &=-\frac {a \sqrt {a^2+2 a b x+b^2 x^2}}{5 x^5 (a+b x)}-\frac {b \sqrt {a^2+2 a b x+b^2 x^2}}{4 x^4 (a+b x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 33, normalized size = 0.46 \begin {gather*} -\frac {\sqrt {(a+b x)^2} (4 a+5 b x)}{20 x^5 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
2.
time = 0.14, size = 20, normalized size = 0.28
method | result | size |
default | \(-\frac {\mathrm {csgn}\left (b x +a \right ) \left (5 b x +4 a \right )}{20 x^{5}}\) | \(20\) |
risch | \(\frac {\left (-\frac {b x}{4}-\frac {a}{5}\right ) \sqrt {\left (b x +a \right )^{2}}}{x^{5} \left (b x +a \right )}\) | \(29\) |
gosper | \(-\frac {\left (5 b x +4 a \right ) \sqrt {\left (b x +a \right )^{2}}}{20 x^{5} \left (b x +a \right )}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 167 vs.
\(2 (45) = 90\).
time = 0.28, size = 167, normalized size = 2.35 \begin {gather*} -\frac {\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2}} b^{5}}{2 \, a^{5}} - \frac {\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2}} b^{4}}{2 \, a^{4} x} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} b^{3}}{2 \, a^{5} x^{2}} - \frac {9 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} b^{2}}{20 \, a^{4} x^{3}} + \frac {7 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} b}{20 \, a^{3} x^{4}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}}}{5 \, a^{2} x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.96, size = 13, normalized size = 0.18 \begin {gather*} -\frac {5 \, b x + 4 \, a}{20 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 14, normalized size = 0.20 \begin {gather*} \frac {- 4 a - 5 b x}{20 x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.78, size = 40, normalized size = 0.56 \begin {gather*} \frac {b^{5} \mathrm {sgn}\left (b x + a\right )}{20 \, a^{4}} - \frac {5 \, b x \mathrm {sgn}\left (b x + a\right ) + 4 \, a \mathrm {sgn}\left (b x + a\right )}{20 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.16, size = 29, normalized size = 0.41 \begin {gather*} -\frac {\left (4\,a+5\,b\,x\right )\,\sqrt {{\left (a+b\,x\right )}^2}}{20\,x^5\,\left (a+b\,x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________